package cn.com.netedge.iot.frontend.datasave.dao;

import cn.com.netedge.iot.frontend.datasave.model.freeze.FreezeDataModel;
import cn.com.netedge.iot.frontend.datasave.model.freeze.FreezeEventDataModel;
import cn.com.netedge.iot.frontend.datasave.model.freeze.SpecialEventDataModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DataFreezeMapper {
    void insertFreezeDataBatch(@Param("list") List<FreezeDataModel> freezeDataModelList);

    void insertFreezeMonthlyDataBatch(@Param("list") List<FreezeDataModel> freezeDataModelList);
    void insertFreezeDailyDataBatch(@Param("list") List<FreezeDataModel> freezeDataModelList);
    void insertFreezeLoadDataBatch(@Param("list") List<FreezeDataModel> freezeDataModelList);
    void insertFreezeLoadSecondDataBatch(@Param("list") List<FreezeDataModel> freezeDataModelList);

    void insertFreezeEventDataModel(@Param("list") List<FreezeEventDataModel> freezeEventDataModelList);

    void insertFreezeEventCommunicationDataModel(@Param("list") List<FreezeEventDataModel> freezeEventDataModelList);
    void insertFreezeEventDisconnectorDataModel(@Param("list") List<FreezeEventDataModel> freezeEventDataModelList);
    void insertFreezeEventFrauddetectionDataModel(@Param("list") List<FreezeEventDataModel> freezeEventDataModelList);
    void insertFreezeEventPowerfailureDataModel(@Param("list") List<FreezeEventDataModel> freezeEventDataModelList);
    void insertFreezeEventPowerqualityDataModel(@Param("list") List<FreezeEventDataModel> freezeEventDataModelList);
    void insertFreezeEventStandardDataModel(@Param("list") List<FreezeEventDataModel> freezeEventDataModelList);
    void insertFreezeEventVoltagequalityDataModel(@Param("list") List<FreezeEventDataModel> freezeEventDataModelList);
    void insertSpecialEvent(@Param("list") List<SpecialEventDataModel> specialEventDataModels);
}
